The Execution Instance Overloading Pattern
نویسندگان
چکیده
Software libraries typically represent substantive investment into a single code base, often capturing the best-known practices, algorithms, and data structures for a given problem domain. Popular libraries become more than a collection of code; they become a language in which programs and algorithms can be expressed. Just as a parallelizing compiler can take program code written in a general-purpose, sequential programming language and produce a parallel program, a parallel library can implement the language of a sequential library to parallelize existing programs. The typical barriers to adoption of a parallel library—unfamiliar interfaces and the need to rewrite a large amount of application code—no longer apply or are lowered substantially. The Execution Instance Overloading pattern facilitates the construction of parallel libraries that inherit the syntax, semantics, and implementation of sequential libraries. Execution Instance Overloading may be applied to algorithms or data structures (collectively called “components”), using three steps: adapt the sequential component with an interface-preserving instance of the Adapter pattern [9, pp. 139–150], overload the sequential component with the parallel one, and optimize cases where the combination of adapter and adaptee would produce suboptimal performance. For instance, consider parallelizing a function that computes the inner product of two vectors and has the following signature:
منابع مشابه
A Distributed Execution Environment for Large-Scale Workflow Management Systems with Subnets and Server Migration
If the number of users within a workflow management system (WFMS) increases, a central workflow server (WF– server) and a single local area network (LAN) may become overloaded. The approach presented in this paper describes an execution environment which is able to manage a growing number of users by adding new servers and subnets. The basic idea is to decompose processes into parts which are c...
متن کاملThe effect of imagery, observation and execution of the pattern in the field on the performance of the regulated games of skilled basketball players
Abstract The effectiveness of different educational methods in learning different types of motor skills has been considered. However, comparisons of these methods in regulated team sports games have been less studied. Therefore, the aim of the present study was to compare the three educational methods of imagery, observation, and execution of in-field pattern on the performance of regulated ga...
متن کاملIRDDS: Instance reduction based on Distance-based decision surface
In instance-based learning, a training set is given to a classifier for classifying new instances. In practice, not all information in the training set is useful for classifiers. Therefore, it is convenient to discard irrelevant instances from the training set. This process is known as instance reduction, which is an important task for classifiers since through this process the time for classif...
متن کاملThe Virtual Machine Migration in Cloud Computing Using Firefly and Gravitational Algorithm
The cloud computing is the architecture in which cloudlets are executed by the virtual machines. The most applicable virtual machines are selected on the basis of execution time and failure rate. Due to virtual machine overloading execution time and energy consumption is increased at steady rate. In this paper, Gravitational technique is applied in which weight of each virtual machine is calcul...
متن کاملHybrid Overloading and Stochastic Analysis for Redundant Scheduling in Real-time Multiprocessor Systems*
In multiprocessor systems, redundant scheduling is a technique that trades processing power for increased reliability. One approach, called primary-backup task scheduling, is often used in real-time multiprocessor systems to ensure that deadlines are met in spite of faults. Briefly, it consists in scheduling a secondary task conditionally, in such a way that the secondary task actually gets exe...
متن کاملذخیره در منابع من
با ذخیره ی این منبع در منابع من، دسترسی به آن را برای استفاده های بعدی آسان تر کنید
عنوان ژورنال:
دوره شماره
صفحات -
تاریخ انتشار 2005